<?php
if(!defined('DCS_ROOT')) {exit('Access Denied');}
session_start();
session_cache_limiter("private,must-revalidate");	
function getAdmin(){	
	if(!empty($_SESSION['adminuser']))
		return $_SESSION['adminuser'];
	else
		return false;
}
$admin_user = getAdmin();
if(empty($admin_user)){
	message('','/admin/login');
}
?>

